package com.lingxu.module.redList.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lingxu.base.common.api.vo.Result;
import com.lingxu.module.redList.entity.ParamsDTO;
import com.lingxu.module.redList.entity.RedList;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Title: RedListService
 * @Package: com.lingxu.module.redList.service
 * @Author: ysj闫世杰
 * @Email: 1105324813@qq.com
 * @Date: Created in 2023/6/15 14:55
 * @Description:
 * @Version: 1.0.0
 */
public interface RedListService extends IService<RedList> {

    Result findRedList(ParamsDTO dto);

    Result openFindRedListApi(String keyWord);

    void exportRedList(HttpServletResponse response,String cityCode);

    void exportMode(HttpServletResponse response);

    Result findRedListLog(String startTime, String endTime, Integer limit, Integer page,String type);

    void compareToRedList(HttpServletResponse response, HttpServletRequest request, String userId, String realName, String userName);

    int findExistByIdCard(String idcard);

    Result findNeedApprovalCount(ParamsDTO dto);

    Result findNeedApprovalList(Integer page, Integer limit);
}
